COMPILER = /usr/local/arm-linux/bin/arm-linux-gcc
CCFLAGS = -g

#run: rsa.o #big_math.o
#	${COMPILER} ${CCFLAGS} run.c -static -I../hdr/ ../rsa.o ../../big_math/big_math.o -o run

#rsa.o: big_math.o
#	${COMPILER} ${CCFLAGS} -c -I../hdr/ ../src/rsa.c -o ../rsa.o

#big_math.o:
#	${COMPILER} ${CCFLAGS} -c ../../big_math/src/big_math.c -o ../../big_math/big_math.o

run: rsa.o
	${COMPILER} ${CCFLAGS} run.c -static -I../hdr/ ../rsa.o -o run

rsa.o:
	${COMPILER} ${CCFLAGS} -c -I../hdr/ ../src/rsa.c ../../big_math/src/big_math.c -o ../rsa.o

	
clean:
	rm run ../../big_math/big_math.o ../rsa.o
